package com.pearadmin.api.jwt;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/jwt")
public class JwtController {

    @GetMapping("test")
    public String test(){
        return "test";
    }

    @GetMapping("anonymous")
    public String anonymous(){
        return "无需权限都可以访问";
    }
}
